You can use AppleScript to get and change the captions, logos, backgrounds, and the state of MacWebCam.
To change most information, you must specify a document. You can specify the document by name, index or by using the term "active document". The "active document" points to the document that was last used or that is about to take a picture and lets you have a pre or post process script used by any document.
MacWebCam also has a Pre and Post AppleScript processing. These are compiled text files that execute right before taking a picture or immediately after taking a picture. These files are compiled when the Cam is started, or when the Cam is changed (by AppleScript or by setup dialogs.) This means that if you change the contents of a script text file, you'll need to stop then start the cam, or send a "set preprocess applescript file" AppleScript command.
MacWebCam Suite: Terms for controlling MacWebCam
stop: stop document
stop document -- the document to stop
start: start document
start document -- the document to start
show preview window: shows WebCam preview window
show preview window document -- the document
hide preview window: shows WebCam preview window
hide preview window document -- the document
take picture now: take picture and add to current series
take picture now reference -- document
take picture with: document to use
take picture with reference -- the object to save
type type class
file file specification -- dest
[renaming file boolean] -- false to prevent a file from being overwritten by itself
Class application: An application program
Plural form:
applications
Elements:
window by numeric index, by name
document by numeric index, by name
Properties:
active document document [r/o] -- the active document
Class document: a document
Plural form:
documents
Elements:
window by numeric index, by name
caption by numeric index
logo
background
digitizer
Properties:
images integer -- number of images to archive
file name string -- The destination file name
file extension string -- The destination file name
interval small integer -- The number of seconds between images
modified boolean [r/o] -- Has the document been modified since the last save?
name string [r/o] -- the title of the document
active boolean -- Document turned on?
image quality perfect/max/medium/low -- Image quality of JPEG image
image type JPEG/PICT/gif -- Image kind
width small integer -- width
height small integer -- height
depth small integer -- depth
pictures taken small integer [r/o] -- pictures taken since start
preprocess AppleScript file alias -- pre-process AppleScript file
postprocess AppleScript file alias -- post-process AppleScript file
last image file alias -- file of last picture
Class caption: A caption
Properties:
position point -- coordinates of caption
style plain/bold/italic/underline/outline/shadow/condensed/expanded -- the text style